package com.socket.entity;

import java.util.List;

/**
 * Created by sh04799 on 2017/10/24.
 */

public class MapEntity {

	private long lat;
	private long lon;

	private int id;
	private int laneNumber;
	private int laneWidth;
	private int laneAttributes;
	private List<PositionOffset> nodeList;
	private String name;

	public MapEntity() {
	}

	public MapEntity(long lat, long lon, int id ) {
		this.lat = lat;
		this.lon = lon;
		this.id = id;
	}

	public MapEntity(int id, int laneNumber, int laneWidth, int laneAttributes,
			List<PositionOffset> nodeList, String name) {
		this.id = id;
		this.laneNumber = laneNumber;
		this.laneWidth = laneWidth;
		this.laneAttributes = laneAttributes;
		this.nodeList = nodeList;
		this.name = name;
	}

	public MapEntity(long lat, long lon, int id, int laneNumber, int laneWidth,
			int laneAttributes, List<PositionOffset> nodeList, String name) {
		this.lat = lat;
		this.lon = lon;
		this.id = id;
		this.laneNumber = laneNumber;
		this.laneWidth = laneWidth;
		this.laneAttributes = laneAttributes;
		this.nodeList = nodeList;
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getLaneNumber() {
		return laneNumber;
	}

	public void setLaneNumber(int laneNumber) {
		this.laneNumber = laneNumber;
	}

	public int getLaneWidth() {
		return laneWidth;
	}

	public void setLaneWidth(int laneWidth) {
		this.laneWidth = laneWidth;
	}

	public int getLaneAttributes() {
		return laneAttributes;
	}

	public void setLaneAttributes(int laneAttributes) {
		this.laneAttributes = laneAttributes;
	}

	public List<PositionOffset> getNodeList() {
		return nodeList;
	}

	public void setNodeList(List<PositionOffset> nodeList) {
		this.nodeList = nodeList;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getLat() {
		return lat;
	}

	public void setLat(long lat) {
		this.lat = lat;
	}

	public long getLon() {
		return lon;
	}

	public void setLon(long lon) {
		this.lon = lon;
	}

	@Override
	public String toString() {
		return "MapEntity [lat=" + lat + ", lon=" + lon + ", id=" + id
				+ ", laneNumber=" + laneNumber + ", laneWidth=" + laneWidth
				+ ", laneAttributes=" + laneAttributes + ", nodeList="
				+ nodeList + ", name=" + name + "]";
	}

}
